package com.example.shiro.mapper;

import com.example.shiro.model.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface UserMapper {

    User findUserByUsername(@Param("username") String username);
}
